﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IBLL
{
    public interface IFieldBLL
    {
        IList<FieldInfo> ListFields();
        IList<FieldInfo> ListFields(string Sequence);
        IList<FieldInfo> ListFields(string PositionTypes, string EmployeeTypes);
        DataSet LoadFields(string Sequence, string PositionTypes, string EmployeeTypes);
        DataSet LoadFieldSearchText(string PositionTypes, string EmployeeTypes, string SearchText);
        DataSet LoadFieldExists(string Sequence, string PositionTypes, string EmployeeTypes);

        void Insert(string Name, string NameEng, string LineName, string LineNameEng, string Remarks
            , int EmployeeTypes, int PositionTypes, int FieldGroups, int ClassSpecifications, int CreatedBy);
        void Update(int Sequence, string Name, string NameEng, string LineName, string LineNameEng, string Remarks
            , int EmployeeTypes, int PositionTypes, int FieldGroups, int ClassSpecifications, int UpdatedBy);
        void Delete(int Sequence, int UpdatedBy);
    }
}
